<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            background-image: url(wzlg.png);

            width: 300px;

            height: 300px;

            background-color: pink;

            background-repeat: no-repeat;

            /* x一定是20px,y一定是center  等价于 background-position:20px; */
            /* background-position:center 20px; 水平居中，垂直20px */
            background-position: 20px center;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>